Referentially transparent - определение. Что такое Referentially transparent
Diclib.com
Словарь ChatGPT
Введите слово или словосочетание на любом языке 👆
Язык:

Перевод и анализ слов искусственным интеллектом ChatGPT

На этой странице Вы можете получить подробный анализ слова или словосочетания, произведенный с помощью лучшей на сегодняшний день технологии искусственного интеллекта:

  • как употребляется слово
  • частота употребления
  • используется оно чаще в устной или письменной речи
  • варианты перевода слова
  • примеры употребления (несколько фраз с переводом)
  • этимология

Что (кто) такое Referentially transparent - определение

PROPERTY OF SOME COMPUTER SOFTWARE EXPRESSIONS AND FUNCTIONS
Referential transparancy; Transparency (referential); Referentially transparent; Referentially opaque; Referential transparency (computer science)
Найдено результатов: 152
referentially transparent         
referential transparency         
<programming> An expression E is referentially transparent if any subexpression and its value (the result of evaluating it) can be interchanged without changing the value of E. This is not the case if the value of an expression depends on global state which can change value. The most common example of changing global state is assignment to a global variable. For example, if y is a global variable in: f(x) return x+y; g(z) { a = f(1); y = y + z; return a + f(1); } function g has the "side-effect" that it alters the value of y. Since f's result depends on y, the two calls to f(1) will return different results even though the argument is the same. Thus f is not referentially transparent. Changing the order of evaluation of the statements in g will change its result. Pure functional languages achieve referential transparency by forbidding assignment to global variables. Each expression is a constant or a function application whose evaluation has no side-effect, it only returns a value and that value depends only on the definition of the function and the values of its arguments. We could make f above referentially transparent by passing in y as an argument: f(x, y) = x+y Similarly, g would need to take y as an argument and return its new value as part of the result: g(z, y) { a = f(1, y); y' = y+z; return (a + f(1, y'), y'); } Referentially transparent programs are more amenable to formal methods and easier to reason about because the meaning of an expression depends only on the meaning of its subexpressions and not on the order of evaluation or side-effects of other expressions. We can stretch the concept of referential transparency to include input and output if we consider the whole program to be a function from its input to its output. The program as a whole is referentially transparent because it will always produce the same output when given the same input. This is stretching the concept because the program's input may include what the user types, the content of certain files or even the time of day. If we do not consider global state like the contents of files as input, then writing to a file and reading what was written behaves just like assignment to a global variable. However, if we must consider the state of the universe as an input rather than global state then any deterministic system would be referentially transparent! See also extensional equality, observational equivalence. (1997-03-25)
Referential transparency         
In computer science, referential transparency and referential opacity are properties of parts of computer programs. An expression is called referentially transparent if it can be replaced with its corresponding value (and vice-versa) without changing the program's behavior.
The purple noon's transparent might         
PAINTING BY ARTHUR STREETON
The purple noon’s transparent might
The purple noon's transparent might is an 1896 oil on canvas landscape painting by Australian artist Arthur Streeton. The painting depicts the Hawkesbury River in New South Wales, looking toward the Blue Mountains.
Transparent ceramics         
  • Richard C. Anderson holding a sample of [[Yttralox]]
  • Currently, high powered Nd:glass lasers as large as a football field are used for [[inertial confinement fusion]], [[nuclear weapon]]s research, and other high [[energy]] density [[physics]] experiments
  • Panoramic Night Vision Goggles in testing.
  • Synthetic sapphire – single-crystal aluminum oxide (sapphire – Al<sub>2</sub>O<sub>3</sub>) is a transparent ceramic
  • Thermogram of a lion
  • IR 100 Award, [[Yttralox]], 1967
  • Gemstones of Yttralox transparent ceramic
TYPE OF MATERIAL
Transparent Ceramics; Transparent alumina; Transparent ceramic
Many ceramic materials, both glassy and crystalline, have found use as optically transparent materials in various forms from bulk solid-state components to high surface area forms such as thin films, coatings, and fibers.Patel, P.
Transparent Anatomical Manikin         
LIFE-SIZED ANATOMICAL HUMAN MODEL USED IN EDUCATION
Transparent anatomical manikin; Transparent Anatomical Mannikin; Transparent anatomical mannequin; Transparent woman; Transparent man; Transparent women; Transparent men; User:Djd/sandbox/Transparent men
The Transparent Anatomical Manikin (TAM) is a three-dimensional, transparent anatomical model of a human being, created for medical instructional purposes. TAM was created by designer Richard Rush in 1968.
See-through display         
  • [[Head-up display]] in an aircraft
  • A device using a semi-reflective glass panel and a screen to create a see-through display
  • See-through OLED display
A DISPLAY WHICH CAN BE SEEN THROUGH.
Transparent display; Transparent computer screen; Transparent LCD screen; See-though LED screen; Transparent computer display; See-through computer display; Transparent computer monitor; Transparent LCD display; Transparent LED display
A see-through display or transparent display is an electronic display that allows the user to see what is shown on the screen while still being able to see through it. The main applications of this type of display are in head-up displays, augmented reality systems, digital signage, and general large-scale spatial light modulation.
Transparent goby         
SPECIES OF FISH
Aphia minuta; Aphia; Transparent Goby
Aphia minuta, the transparent goby, is a species of the goby native to the northeastern Atlantic Ocean where it can be found from Trondheim, Norway to Morocco. It is also found in the Mediterranean, Black Sea and the Sea of Azov.
Transparent eyeball         
  • "Transparent eyeball" as illustrated by [[Christopher Pearse Cranch]], ca. 1836-1838
PHILOSOPHICAL METAPHOR DEVELOPED BY RALPH WALDO EMERSON
Transparent Eye-Ball
The transparent eyeball is a philosophical metaphor originated by American transcendentalist philosopher Ralph Waldo Emerson. In his essay Nature, the metaphor stands for a view of life that is absorbent rather than reflective, and therefore takes in all that nature has to offer without bias or contradiction.
Transparent wood composite         
Transparent wood; Optically transparent wood; Optically transparent wood nanocomposites; Transparent wood composites
Transparent wood composites are novel wood materials which have up to 90% transparency. Some have better mechanical properties than wood itself.

Википедия

Referential transparency

In computer science, referential transparency and referential opacity are properties of parts of computer programs. An expression is called referentially transparent if it can be replaced with its corresponding value (and vice-versa) without changing the program's behavior. This requires that the expression be pure – its value must be the same for the same inputs and its evaluation must have no side effects. An expression that is not referentially transparent is called referentially opaque.

In mathematics, all function applications are referentially transparent, by the definition of what constitutes a mathematical function. However, this is not always the case in programming, where the terms procedure and method are used to avoid misleading connotations. A defining characteristic of functional programming is that it only allows referentially transparent functions. Other programming languages may provide means to selectively guarantee referential transparency. Some functional programming languages enforce referential transparency for all functions.

The importance of referential transparency is that it allows the programmer and the compiler to reason about program behavior as a rewrite system. This can help in proving correctness, simplifying an algorithm, assisting in modifying code without breaking it, or optimizing code by means of memoization, common subexpression elimination, lazy evaluation, or parallelization.